home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 039a / d3d.zip / GRPACK.H < prev    next >
Text File  |  1989-11-21  |  1KB  |  41 lines

  1. /* GRPACK.H: Header file for graphics functions. */
  2.  
  3. extern int in_textmode, adaptype, X__max, Y__max, drawmode;
  4. extern float x_max, y_max, horfact, vertfact;
  5. extern FILE *fplot;
  6.  
  7. /* File for deferred graphics output. For example, programs
  8.    PLOTHP can read this file and convert it to output  on
  9.    the video screen, a matrix printer, or an HP plotter.
  10.    The identifier FILE is defined in <stdio.h>, which
  11.    must therefore be included prior to the present file.
  12. */
  13.  
  14. #ifndef __HUGE__
  15. #error Use Turbo C huge memory model.
  16. #endif
  17.  
  18. void initgr(void);
  19. void endgr(void);
  20. void to_text(void);
  21. void move(float x, float y);
  22. void draw(float x, float y);
  23. void imove(int X, int Y);
  24. void idraw(int X, int Y);
  25. void draw_line(int X1, int Y1, int X2, int Y2);
  26. void dot(int X, int Y);
  27. void clearpage(void);
  28. void text(char *str);
  29. void textXY(int X, int Y, char *str);
  30. void printgr(int Xlo, int Xhi, int Ylo, int Yhi);
  31. void setprdim(void);
  32. int IX(float x);
  33. int IY(float y);
  34. int pixlit(int X, int Y);
  35. int iscolor(void);
  36. void wrscr(int line, int col, char *str);
  37. void settxtcursor(int line, int col);
  38. void clearscr(void);
  39.  
  40.  
  41.